package com.hhm.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 用户
 */
@Data
public class User {
    private Integer id;
    private String username;
    private String password;
    private Sex sex;//枚举  性别

    private String telephone;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date birthday;

    private String start;
    private String end;
}
